package com.caration.shell.utils;

import android.os.Vibrator;

import com.caration.shell.Home;
import com.caration.shell.config.CommonConfig;

public class ShellVibrator {
	public static void vibrate() {
		if (mVibrator == null) {
			mVibrator = (Vibrator) Home.getInstance().getSystemService(
					"vibrator");
		}
		if (CommonConfig.isVibrationFeedbackOn())
			mVibrator.vibrate(10L);
	}

	private static Vibrator mVibrator;

}
